<h1 class='title'><?php echo $this->request->data['Page']['title'] ?></h1>
<div class="bloc">
	<div class="title">
		<?php echo $this->element('admin/bread')?>
	</div>
    <div class="content">
	<?php echo $this->Form->create('Page');?>
	<?php echo $this->Form->input('id',array('type'=>'hidden','label'=>false));?>
	<div class='mealGroups-form'>
		<div class='mealGroups-formDiv'>
			<?php
				echo $this->Form->input('sign',array('label'=>'标记：','class'=>'GroupsInput','disabled'=>true));
			?>
			<div class='clear'></div>
		</div>
		<div class='mealGroups-formDiv'>
			<?php
				echo $this->Form->input('title',array('label'=>'标题：','class'=>'GroupsInput'));
			?>
			<div class='clear'></div>
		</div>
		<div class='mealGroups-formDiv'>
			<?php
				echo $this->Form->input('seo_keywords',array('label'=>'关键词：','class'=>'GroupsInput'));
			?>
			<div class='clear'></div>
		</div>
		<div class='mealGroups-formDiv'>
			<?php
				echo $this->Form->input('seo_description',array('label'=>'描述：','class'=>'GroupsInput'));
			?>
			<div class='clear'></div>
		</div>
		<div class='mealGroups-formDiv'>
			<?php echo $this->Form->input('content',array('label'=>'内容：','class'=>'GroupsInput'));?>
			<div class='clear'></div>
		</div>
		<div class='mealGroups-formDiv'>
			<?php echo $this->Form->input('enable',array('options'=>array('1'=>'启用','2'=>'禁用'),'default'=>1,
					'type'=>'select','class'=>'GroupsInput','label'=>'状态：','div'=>false));?>
			<div class='clear'></div>
		</div>
		<div class='mealGroups-formDiv'>
			<label></label>
			<input type="submit" class='button-orange' value="提交" />
			<div class='clear'></div>
		</div>
		<?php echo $this->Form->end();?>
</div>
	</div>
</div>
<?php echo $this->Html->script(array('ckeditor/ckeditor','ckeditor/adapters/jquery'));?>
<script type="text/javascript">
jQuery(function(){
	var config = {width:800,height:300,toolbar:[
	                    ['Source','Find','Replace', '-','Undo','Redo'],['UIColor'],['sj56image'],
						['Bold', 'Italic','Underline','Strike','Subscript','Superscript' ],
						['Link','Unlink','Anchor' ],
					    [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv',
					    '-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], '/',
						[ 'Styles','Format','Font','FontSize' ], ['TextColor','BGColor'],
						[ 'Maximize']
	              ]};
	jQuery('#PageContent').ckeditor(config);
	footerPosition();
});
</script>